#include "dpLibrary\graphics.h"
#include "dpLibrary\dpWindows.h"
#include "winlib.h"

#include "AFObjectFactory.h"
#include "AFGraphics.h"

// Switches the player with an enemy sprite when called.
// Param:  player sprite, enemy sprite
void MindControl(Sprite** player, Sprite** spriteList)
{
  Sprite* tempSprite = *player;
  *player     = *spriteList;
  *spriteList = tempSprite;

  (**player).screen.X = CENTER_OF_SCREEN_X /*- ((**player).width  / 2)*/;
  (**player).screen.Y = CENTER_OF_SCREEN_Y /*- ((**player).height / 2)*/;
}